package spring;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Controller;

@Controller
public class hello {
    @Bean
    public User user1(){
        User user=new User(1,"12345","4455");
        return user;
    }
    @Bean
    public User user2(){
        User user=new User(2,"565","654656565");
        return user;
    }
}
